package com.demo.eshop.pdetail.entity;

import javax.persistence.Id;

/**
 * @author: e20160504
 * @date: 2018/10/29
 * @desc
 */
public class ProductInventory {

    @Id
    private Integer productId;
    private Integer inventoryCnt;


    public ProductInventory(Integer productId, Integer inventoryCnt) {
        this.productId = productId;
        this.inventoryCnt = inventoryCnt;
    }


    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getInventoryCnt() {
        return inventoryCnt;
    }

    public void setInventoryCnt(Integer inventoryCnt) {
        this.inventoryCnt = inventoryCnt;
    }
}
